a {
	text-decoration: none;
	color: #222;
}

div {
	box-sizing: border-box;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

body {
	max-width: 540px;
	min-width: 320px;
	margin: 0 auto;
	font: normal 14px/1.5 Tahoma, "lucida grande", verdana, "microsoft yahei", STXxihei, hei;
	color: #000;
	background: #f2f2f2;
	overflow-x: hidden;
	-webkit-tap-highlight-color: transparent;
}

/* goback */
.goback {
	display: none;
	position: fixed;
	bottom: 50px;
	right: 20px;
	width: 38px;
	height: 38px;
	background: url(../imgs/back.png) no-repeat;
	background-size: 38px 38px;
}


/* 搜索模块 */
.search-index {
	display: flex;
	/* 固定定位和父级没有关系，以屏幕为准 */
	position: fixed;
	top: 0;
	left: 50%;
	z-index: 999;
	max-width: 540px;
	min-width: 320px;
	transform: translateX(-50%);
	/* 固定的盒子应该有宽度 */
	width: 100%;
	height: 44px;
	background-color: #f6f6f6;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

.search {
	line-height: 24px;
	height: 26px;
	border: 1px solid #ccc;
	border-radius: 10px;
	color: #666;
	position: relative;
	margin: 7px 10px;
	padding-left: 25px;
	flex: 1;
	box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
}

.search::before {
	content: "";
	position: absolute;
	top: 5px;
	left: 5px;
	height: 15px;
	width: 15px;
	background: url(../imgs/sprite.png) no-repeat -59px -279px;
	background-size: 104px auto;

}

.user {
	width: 44px;
	height: 44px;
	font-size: 12px;
	text-align: center;
	color: #2eaae0;
}

.user::before {
	content: "";
	display: block;
	width: 23px;
	height: 23px;
	background: url(../imgs/sprite.png) no-repeat -59px -194px;
	background-size: 104px auto;
	margin: 4px auto -2px;
}

/* 焦点图模块 */
.focus {
	padding-top: 44px;
	position: relative;
	overflow: hidden;
}

.focus ol {
	position: absolute;
	bottom: 5px;
	right: 5px;
	margin: 0;
}

.focus ul {
	width: 500%;
	overflow: hidden;
	margin-left: -100%;
}

.focus ul li {
	float: left;
	width: 20%;
}

.focus ol li {
	display: inline-block;
	width: 8px;
	height: 8px;
	background-color: #FFFFFF;
	list-style: none;
	border-radius: 2px;
	transition: all .3s;
}

.focus ol li.current {
	width: 20px;
}

.focus img {
	width: 100%;
}


/* 局部导航栏 */
.local-nav {
	display: flex;
	height: 64px;
	background-color: #FFFFFF;
	margin: 3px 4px;
	border-radius: 8px;
}

.local-nav li {
	flex: 1;
}

.local-nav a {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-size: 12px;
}

/* 属性选择器 通配以local-nav-icon开头的属性名 */

.local-nav li [class^="local-nav-icon"] {
	width: 32px;
	height: 32px;
	background-color: #000000;
	background: url(../imgs/localnav_bg.png) no-repeat 0 0;
	background-size: 32px auto;
	margin-top: 8px;
}

.local-nav li .local-nav-icon-icon2 {
	background-position: 0 -32px;
}

.local-nav li .local-nav-icon-icon3 {
	background-position: 0 -64px;
}

.local-nav li .local-nav-icon-icon4 {
	background-position: 0 -96px;
}

.local-nav li .local-nav-icon-icon5 {
	background-position: 0 -128px;
}

nav {
	border-radius: 8px;
	margin: 0 4px 3px;
	overflow: hidden;
}

.nav-common {
	height: 88px;
	display: flex;
}

.nav-common:nth-child(2) {
	margin: 3px 0;
}

.nav-item {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.nav-item a {
	flex: 1;
	text-align: center;
	line-height: 44px;
	color: #fff;
	font-size: 14px;
	/* 文字阴影 */
	text-shadow: 1px 1px rgba(0, 0, 0, .2);
}

.nav-item a:nth-child(1) {
	border-bottom: 1px solid #fff;
}

.nav-item:nth-child(1) a {
	border: 0;
	background: url(../imgs/hotel.png) no-repeat center bottom;
	background-size: 121px auto;
}

.nav-item:nth-child(-n+2) {
	border-right: 1px solid #fff;
}

.nav-common:nth-child(1) {
	background: -webkit-linear-gradient(left, #fa5b55, #fa984d);
}

.nav-common:nth-child(2) {
	background: -webkit-linear-gradient(left, #4b91ed, #53bbed);
}

.nav-common:nth-child(3) {
	background: -webkit-linear-gradient(left, #35c2a8, #6cd55a);
}

/* 侧导航栏 */
.subnav-entry {
	display: flex;
	/* 采取换行 */
	flex-wrap: wrap;
	border-radius: 8px;
	background-color: #fff;
	margin: 0 4px;
	text-align: center;
	padding: 5px;
}

.subnav-entry li {
	flex: 20%;
}

.subnav-entry a {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.subnav-entry-icon {
	display: block;
	background-color: pink;
	width: 28px;
	height: 28px;
	background: url(../imgs/subnav-bg.png) no-repeat 0 0;
	background-size: 28px auto;
	margin: 4px 0 0;
}

.sales-box {
	border-top: 1px solid #ccc;
	background-color: #fff;
	margin: 4px;
}

.sales-hd {
	height: 44px;
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	position: relative;
}

.sales-hd h2 {
	text-indent: -999px;
	overflow: hidden;
	position: relative;
}

.sales-hd h2::after {
	position: absolute;
	top: 8px;
	left: 20px;
	content: "";
	width: 79px;
	height: 15px;
	background: url(../imgs/hot.png) no-repeat 0 -20px;
	background-size: 79px auto;
}

.sales-hd a {
	position: absolute;
	top: 3px;
	left: 400px;
	display: inline-block;
	width: 114px;
	height: 27px;
	text-align: center;
	line-height: 27px;
	border-radius: 15px;
	color: #FFFFFF;
	background: -webkit-linear-gradient(left, #ff516f, #ff6bc5);
}

.sales-hd a::after {
	content: ">";
	margin-left: 2px;
}

.sales-bd {}

.row {
	display: flex;
}

.row a {
	flex: 1;
	border-bottom: 1px solid #ccc;
}

.row a img {
	width: 100%;

}

.row a:nth-child(1) {
	border-right: 1px solid #ccc;
}
